package cn.mulanbay.business.bean;

import cn.mulanbay.persistent.enums.UserType;

import java.time.LocalDateTime;

/**
 * 用户登录信息
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public class UserLoginInfo {

    private Long userId;

    private String loginToken;

    private LocalDateTime loginTime;

    private String loginIp;

    private UserType loginType;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getLoginToken() {
        return loginToken;
    }

    public void setLoginToken(String loginToken) {
        this.loginToken = loginToken;
    }

    public LocalDateTime getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(LocalDateTime loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public UserType getLoginType() {
        return loginType;
    }

    public void setLoginType(UserType loginType) {
        this.loginType = loginType;
    }
}
